import request from '@/utils/request'

// 查询客户端页面列表
export function listMes_client_pages(query) {
  return request({
    url: '/client/mes_client_pages/list',
    method: 'get',
    params: query
  })
}
// 查询客户端页面列表
export function getAllList(query) {
  return request({
    url: '/client/mes_client_pages/allList',
    method: 'get',
    params: query
  })
}

// 查询客户端页面详细
export function getMes_client_pages(pageId) {
  return request({
    url: '/client/mes_client_pages/' + pageId,
    method: 'get'
  })
}

// 新增客户端页面
export function addMes_client_pages(data) {
  return request({
    url: '/client/mes_client_pages',
    method: 'post',
    data: data
  })
}

// 修改客户端页面
export function updateMes_client_pages(data) {
  return request({
    url: '/client/mes_client_pages',
    method: 'put',
    data: data
  })
}

// 删除客户端页面
export function delMes_client_pages(pageId) {
  return request({
    url: '/client/mes_client_pages/' + pageId,
    method: 'delete'
  })
}

// 导出客户端页面
export function exportMes_client_pages(query) {
  return request({
    url: '/client/mes_client_pages/export',
    method: 'get',
    params: query
  })
}